package com.scs.application.modules.sys.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.sys.dto.SaveAuthorityDTO;
import com.scs.application.modules.sys.entity.Authority;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface AuthorityService extends IBaseService<Authority> {
    Boolean saveAuthority(SaveAuthorityDTO para);
    List<Authority> getRoleAuthority(String roleId);

    void addOrDeleteMenus(@RequestBody Map<String, String> reqData);

    void addOrDelete(String roleId, String addMenuIds,String deleteMenuIds);
}
